// TokenTable.h: interface for the TokenTable class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_TOKENTABLE_H__CB1B7AB5_459F_433A_9437_8BD534DCE689__INCLUDED_)
#define AFX_TOKENTABLE_H__CB1B7AB5_459F_433A_9437_8BD534DCE689__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "map.h"
#include "Variable.h"

class TokenTable  
{
public:
	TokenTable();
	virtual ~TokenTable();

public:
	Variable* GetToken(const CString& strToken);
	void AddToken(Variable* pVariable);

private:
	void ClearTable();

private:
	CMap<CString, CString, Variable*, Variable*> m_theTokenTable;
};

TokenTable& GetTokenTable();
#endif // !defined(AFX_TOKENTABLE_H__CB1B7AB5_459F_433A_9437_8BD534DCE689__INCLUDED_)
